const DropDownData: any[] = [
  {
    name: "房型",
    type: "filter",
    submenu: [
      {
        name: "房型选择",
        submenu: [
          {
            name: "一室",
            value: "1",
            key: "rooms",
          },
          {
            name: "二室",
            value: "2",
            key: "rooms",
          },
          {
            name: "三室",
            value: "3",
            key: "rooms",
          },
          {
            name: "四室",
            value: "4",
            key: "rooms",
          },
          {
            name: "五室以上",
            value: "5",
            key: "rooms",
          },
        ],
      },
    ],
  },
  {
    name: "排序",
    type: "single-hierarchy",
    ident: 'sort',
    submenu: [
      {
        name: "默认排序",
        key: 'sort',
        value: '1'
      },{
        name: "最新发布",
        key: 'sort',
        value: '80'
      },
      {
        name: "总价从高到低",
        key: 'sort',
        value: '2'
      },
      {
        name: "总价从低到高",
        key: 'sort',
        value: '3'
      },
      {
        name: "单价从高到低",
        key: 'sort',
        value: '4'
      },
      {
        name: "单价从低到高",
        key: 'sort',
        value: '5'
      },{
        name: "面积从大到小",
        key: 'sort',
        value: '60'
      },{
        name: "面积从小到大",
        key: 'sort',
        value: '70'
      }
    ],
  },
  {
    name: "更多",
    type: "filter",
    submenu: [
      {
        name: "建筑面积",
        submenu: [
          {
            name: "50㎡以下",
            minValue: "",
            maxValue: "50",
            key: "floorage",
            sort: 1
          },
          {
            name: "50-70㎡",
            minValue: "50",
            maxValue: "70",
            key: "floorage",
            sort: 2
          },
          {
            name: "70-90㎡",
            minValue: "70",
            maxValue: "90",
            key: "floorage",
            sort: 3
          },
          {
            name: "90-100㎡",
            minValue: "90",
            maxValue: "100",
            key: "floorage",
            sort: 4
          },
          {
            name: "100-144㎡",
            minValue: "100",
            maxValue: "144",
            key: "floorage",
            sort: 5
          },
          {
            name: "144㎡以上",
            value: "144",
            minValue: "144",
            maxValue: "",
            key: "floorage",
            sort: 6
          },
        ],
      },
      {
        name: '房源特色',
        dic: 'housePromotionTag',
        submenu: [],
      },
      {
        name: "朝向",
        dic: 'toward',
        submenu: [],
      },
      {
        name: "楼层",
        submenu: [
          {
            name: "低楼层",
            minValue: "1",
            maxValue: "3",
            key: "floorName",
            sort: 1
          },
          {
            name: "中楼层",
            minValue: "4",
            maxValue: "10",
            key: "floorName",
            sort: 2
          },
          {
            name: "高楼层",
            minValue: "11",
            maxValue: "",
            key: "floorName",
            sort: 3
          },
        ],
      },
      {
        name: "用途",
        dic: 'propertyType',
        submenu: [],
      },
      {
        name: "电梯",
        submenu: [
          {
            name: "有电梯",
            value: 1,
            key: "liftFlag",
          },
          {
            name: "无电梯",
            value: 0,
            key: "liftFlag",
          },
        ],
      },
      {
        name: "装修",
        dic: 'decorate',
        submenu: [],
      },
    ],
  },
];

// 租房的下拉数据
const RentData = [{
  name: "价格",
  type: "radio",
  submenu: [
    {
      name: "价格区间（元）",
      submenu: [
        {
          name: "1500元以下",
          value: "0-100",
          minValue: "",
          maxValue: "1500",
          key: "rentPrice",
        },
        {
          name: "1500-2000元",
          value: "0-100",
          minValue: "1500",
          maxValue: "2000",
          key: "rentPrice",
        },
        {
          name: "2000-2500元",
          value: "0-100",
          minValue: "2000",
          maxValue: "2500",
          key: "rentPrice",
        },
        {
          name: "2500-3000元",
          value: "0-100",
          minValue: "2500",
          maxValue: "3000",
          key: "rentPrice",
        },
        {
          name: "3000-4000元",
          value: "0-100",
          minValue: "3000",
          maxValue: "4000",
          key: "rentPrice",
        },
        {
          name: "4000-5000元",
          value: "0-100",
          minValue: "4000",
          maxValue: "5000",
          key: "rentPrice",
        },
        {
          name: "5000元以上",
          value: "0-100",
          minValue: "5000",
          maxValue: "",
          key: "rentPrice",
        },
        {
          name: "自定义",
          key: "rentPrice",
          $component: "numberRange",
          minValue: "",
          maxValue: "",
        }
      ],
    }
  ],
}];
const RentSortData = [{
  name: "默认排序",
  key: 'sort',
  value: '1'
},
{
  name: "最新发布",
  key: 'sort',
  value: '80'
},
{
  name: "租价从高到低",
  key: 'sort',
  value: '2'
},
{
  name: "租价从低到高",
  key: 'sort',
  value: '3'
},{
  name: "面积从大到小",
  key: 'sort',
  value: '60'
},{
  name: "面积从小到大",
  key: 'sort',
  value: '70'
}]

const SaleData = [{
  name: "价格",
  type: "radio",
  submenu: [
    {
      name: "价格区间（万/元）",
      submenu: [
        {
          name: "100万以下",
          value: "0-100",
          minValue: "",
          maxValue: "100",
          key: "salePrice",
        },
        {
          name: "100-120万",
          value: "100-120",
          minValue: "100",
          maxValue: "120",
          key: "salePrice",
        },
        {
          name: "120-150万",
          value: "120-150",
          minValue: "120",
          maxValue: "150",
          key: "salePrice",
        },
        {
          name: "150-200万",
          value: "150-200",
          minValue: "150",
          maxValue: "200",
          key: "salePrice",
        },
        {
          name: "200-300万",
          value: "200-300",
          minValue: "200",
          maxValue: "300",
          key: "salePrice",
        },
        {
          name: "300-500万",
          value: "300-500",
          minValue: "300",
          maxValue: "500",
          key: "salePrice",
        },
        {
          name: "500万以上",
          value: "500",
          minValue: "500",
          maxValue: "",
          key: "salePrice",
        },
        {
          name: "自定义",
          key: "salePrice",
          $component: "numberRange",
          minValue: "",
          maxValue: "",
        }
      ],
    }
  ],
}];
const saleSortData = [{
  name: "默认排序",
  key: 'sort',
  value: '1'
},{
  name: "最新发布",
  key: 'sort',
  value: '80'
},
{
  name: "总价从高到低",
  key: 'sort',
  value: '2'
},
{
  name: "总价从低到高",
  key: 'sort',
  value: '3'
},
{
  name: "单价从高到低",
  key: 'sort',
  value: '4'
},
{
  name: "单价从低到高",
  key: 'sort',
  value: '5'
},{
  name: "面积从大到小",
  key: 'sort',
  value: '60'
},{
  name: "面积从小到大",
  key: 'sort',
  value: '70'
}]

export { DropDownData, RentData, SaleData, RentSortData, saleSortData };
